﻿using Furion.DependencyInjection;

namespace ZeroAdmin.Application;

/// <summary>
/// 认证服务
/// </summary>
public interface IAuthService : ITransient
{
    /// <summary>
    /// 登入
    /// </summary>
    /// <param name="input"></param>
    /// <returns></returns>
    Task<LoginOutput> Login(LoginInput input);

    /// <summary>
    /// 登出
    /// </summary>
    void Logout();
}

